<html>
<head>
<title>SmoothUV</title>
<link rel="stylesheet" type="text/css" href="../../avisynth.css">
<!--
Automatically generated, don't change:
$Id: smoothuv.htm,v 1.2 2004/08/17 20:31:19 wilbertd Exp $ 
-->
</head>
<body>
<h1>SmoothUV</h1>
<h2>Abstract</h2>
<b>author:</b>   Kurosu
<br><b>version:</b>     1.4.0<br>
<b>download:</b> <a href="http://www.avisynth.org/warpenterprises/">http://www.avisynth.org/warpenterprises/</a>
<br><b>category:</b>   Spatial Smoothers
<br><b>requirements:</b>&nbsp;
<ul>
  <li>YV12 Colorspace</li>
</ul>

<hr size=2 width="100%" align=center>

<!-- #EndTemplate -->
<h2>Functions</h2>
<p>- SmoothUV<br>
- SSHiQ</p>
<h2>Syntax</h2>
<p>1) <code>SSHiQ</code> (<var>clip, int rY, int rC, int tY, int tC, int str,
bool HQY, bool HQC, bool field</var>)</p>
<ul>
  <li><var>rY</var> and <var>rC</var> are respectively the radii for luminance and chrominance (how far from the current pixel neighbours are used).
    The greater the more smooth.</li>
  <li><var>tY</var> and <var>tC</var> are thresholds (details sensibility). The greater the more smooth (not exactly the same as fpr other
    SSHiQ filters).</li>
  <li><var>str</var> is the strength (only used in HiQ mode), ie how much of the smoothed version should be used at best for calculating the new
    pixel</li>
  <li><var>HQY</var> and <var>HQC</var> tell whether to use the HiQ mode, where the edge information automatically reduce the strength value.<br>
    (HQ == 0) ? smoothed_pixel : ( (strength-edge)*smoothed_pixel + (256-(strength-edge))*pixel_in )/256</li>
  <li><var>field</var> allows you to process independently fields (risks of worse blurring/color bleeding)</li>
</ul>
<p>2) SmoothUV (used to reduce rainbows, as done by smartsmoothIQ)<br>
<code>SmoothUV</code> (<var>clip, int radius, int threshold, bool field</var>)</p>
<ul>
  <li><var>radius</var> is the range of operation</li>
  <li><var>threshold</var> is the one used in smartsmoothIQ</li>
  <li><var>field</var> is the same as above</li>
</ul>
<p>This filter doesn't process the luma at all, and can be seen as a shorter version of
SSHiQ(rY, radius, -1, threshold, 255, false, false, field)</p>
<p><kbd>$Date: 2004/08/17 20:31:19 $</kbd></p>
</body>
</html>
